import request from '@/utils/request'

// 获取商品分类信息
export const getCategoryAPI = () => {
  return request({
    url: '/mall-product/category/head'
  })
}
// export const searchByName=(data) =>{
//   return request({
//     url: '/mall-product/product/search',
//     method:'GET',
//     data
//   })
// }